﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="AddUser.aspx.cs" Inherits="FYP14.AddUser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="adminpnl" runat="server">
    <div class="right_content">
        <h2>Add New User / Edit User</h2>
    </div>
    <div>
        <table>
            <tr>
                <td>
                    User ID
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtUserID" runat="server" required CssClass="NFText" ></asp:TextBox>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td>
                    Password
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtPassword" runat="server" required CssClass="NFText" TextMode="Password"></asp:TextBox>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td>
                    Role ID
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:DropDownList ID="ddlRoleID" runat="server" CssClass="NFText" >
                        <asp:ListItem Text="Admin" Value="1"></asp:ListItem>
                        <asp:ListItem Text="Doctor" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Receptionist" Value="3"></asp:ListItem>
                    </asp:DropDownList>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td align="right" colspan="2">
                    <!-- <asp:Button id="btnCancel" Text="Cancel" runat="server" OnClick="btnCancel_Click" /> -->
                    <asp:Button id="btnSave" Text="Save" runat="server" OnClick="btnSave_Click"/>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
